namespace Product_1.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Company")]
    public partial class Company
    {
        public Company()
        {
            Members = new HashSet<Member>();
        }

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Com_Id { get; set; }

        [Required]
        [StringLength(20)]
        public string Com_Name { get; set; }

        [StringLength(20)]
        public string Com_Tel { get; set; }

        [StringLength(20)]
        public string Com_Owner { get; set; }

        [StringLength(20)]
        public string Com_Type { get; set; }

        [StringLength(20)]
        public string Com_Item { get; set; }

        [StringLength(1000)]
        public string Com_Memo { get; set; }

        public virtual ICollection<Member> Members { get; set; }
    }
}
